#pragma once

#include <glibmm/ustring.h>

namespace Glib
{
  class Path
  {
  public:
    static Glib::ustring get_relative_path(
      const Glib::ustring &full_path,const Glib::ustring &relative_to_this);
    static Glib::ustring canonicalize_path(const Glib::ustring &path);
    static Glib::ustring canonicalize_path(const Glib::ustring &path,int flags);
    static std::vector<Glib::ustring> split_into_elements(const Glib::ustring &full);
    static Glib::ustring get_absolute_path(const Glib::ustring &path);
    static Glib::ustring get_absolute_path(const Glib::ustring &path,const Glib::ustring &base_dir);
  };
}
